<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>发水果</title>
	</head>
	<body>
		<script type="text/javascript">
			var aa = ["苹果","葡萄","桃子","西瓜","哈密瓜","梨子","李子","栗子"];
			var numb =Math.ceil(Math.random()*8)-1;
			document.write("你得到的水果是" + aa[numb]);
			
			
		</script>
	</body>
</html>
